package org.suk.dp.abstractFactory.dao;

import org.suk.dp.abstractFactory.model.Department;

/**
 * Description: 部门数据DAO接口<br/>
 * @version V1.0  2017/6/21 8:58  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public interface DepartmentDao {
    /**
     * 新增
     * @param department
     */
    void insert(Department department);
    /**
     * 查询
     * @param id
     * @return
     */
    Department query(int id);
}
